import 'package:json_annotation/json_annotation.dart';

part 'store_detail.g.dart';

@JsonSerializable()
class StoreDetail {
  final String storeName;
  final String description;
  final String logoUrl;
  final Map<String, String> businessLevelMap;
  final Map<String, String> storeAreaIdNameMap;

  StoreDetail(
    this.storeName,
    this.description,
    this.logoUrl,
    this.businessLevelMap,
    this.storeAreaIdNameMap,
  );

  factory StoreDetail.fromJson(Map<String, dynamic> json) => _$StoreDetailFromJson(json);

  Map<String, dynamic> toJson() => _$StoreDetailToJson(this);
}
